home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NOVA - For the NeXT Workstation
/
NOVA - For the NeXT Workstation.iso
/
Apps
/
Utilities
/
Other
/
Briefcase
/
Global.h
< prev
next >
Wrap
Text File
|
1992-12-26
|
1KB
|
49 lines
#import <fcntl.h>
#import <ldsyms.h>
#import <libc.h>
#import <mach.h>
#import <math.h>
#import <stdio.h>
#import <stdlib.h>
#import <string.h>
#import <strings.h>
#import <zone.h>
#import <defaults/defaults.h>
#import <appkit/graphics.h>
#import <appkit/nextstd.h>
#import <appkit/Panel.h>
#import <dpsclient/wraps.h>
#import <objc/objc-runtime.h>
#import <sys/loader.h>
#import <sys/param.h>
#import <sys/types.h>
#import "Localization.h"
#define MAX_STRING_ARRAY 8192
#define KB_1 (1024)
#define KB_10 (10*1024)
#define KB_100 (100*1024)
#define MB_1 (1024*1024)
#define MB_10 (10*1024*1024)
#define MB_100 (100*1024*1024)
#define MAX_SIZE (24*1024*1024)
#define MIN_SIZE 33.0
#define Notify(title, msg) NXRunAlertPanel(title, msg, LocalString("OK"), NULL, NULL)
#define MyZone [self zone]
#define clear(x) {int a; char *p =(char*)&x;for(a=0;a<sizeof(x);a++) *p++ =0;}
#define square(x,y) {y = x * x;}
#define cube(x,y) {y = x * x * x;}
/* Functions in Utility.m */
extern void getAppDirectory (char *appDirectory);
extern char *stripnl(char *s);
extern char *execstr(char *s);
extern char **addFile(const char *file, char **list, int count, NXZone *zone);
extern void freeList(char **list);
extern NXRect *calcFrame(id printInfo, NXRect *viewRect);